package com.hyt.it.ogt.kq.service.bm.service.impl;

import java.util.List;

import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hyt.core.base.BaseServiceImpl;
import com.hyt.it.ogt.kq.service.bm.mapper.TextBookMapper;
import com.hyt.it.ogt.kq.service.bm.model.entity.TextBookBuyRecord;
import com.hyt.it.ogt.kq.service.bm.model.entity.TextBookInfo;
import com.hyt.it.ogt.kq.service.bm.model.entity.TextBookStudent;
import com.hyt.it.ogt.kq.service.bm.model.entity.TextBookTotal;
import com.hyt.it.ogt.kq.service.bm.model.vo.TextBookBuyRecordsQueryVo;
import com.hyt.it.ogt.kq.service.bm.model.vo.TextBookList;
import com.hyt.it.ogt.kq.service.bm.model.vo.TextBookPayList;
import com.hyt.it.ogt.kq.service.bm.model.vo.TextBookSet;
import com.hyt.it.ogt.kq.service.bm.service.TextBookService;
import com.hyt.model.PageParam;

/**
 * 教材
 * 
 * @author wangt
 * @Description:
 * @date: 2020年9月1日 上午11:47:11
 * @version: V1.0
 */
@Service
public class TextBookServiceImpl extends BaseServiceImpl<TextBookMapper, TextBookInfo> implements TextBookService {

	@Autowired
	private TextBookMapper textBookMapper;

	@Override
	public IPage<TextBookTotal> textBookTotal(PageParam<TextBookTotal> pageParam, String officeId) {
		return textBookMapper.getTextBookTotal(pageParam,officeId);
	}

	@Override
	public List<TextBookPayList> totalBooksPayList(String projcetId) {
		return textBookMapper.totalBooksPayList(projcetId);
	}

	@Override
	public IPage<TextBookBuyRecord> findPayStuPageBook(PageParam<TextBookBuyRecord> pageParam, TextBookBuyRecordsQueryVo textBookBuyRecordsQueryVo) {
		return textBookMapper.findPayStuPageBook(pageParam, textBookBuyRecordsQueryVo);
	}

	@Override
	public List<TextBookTotal> getStuBookList(String orderId) {
		
		return null;
	}

	@Override
	public void exportBooksList(HttpServletResponse response, TextBookStudent textBookParam) {
		

	}

	@Override
	public IPage<TextBookList> textBookList(PageParam<TextBookList> pageParam, String taskName) {
		
		return null;
	}

	@Override
	public TextBookSet textBookFormSet(String projectId) {
		
		return null;
	}

	@Override
	public int textBookFormSetSave(TextBookSet textBookSet) {
		
		return 0;
	}

	@Override
	public IPage<TextBookInfo> bookList(PageParam<TextBookInfo> pageParam, String projectId) {
		
		return null;
	}

	@Override
	public int textBookSave(TextBookInfo textBookInfo) {
		
		return 0;
	}

	@Override
	public int delteTextBook(String id) {
		
		return 0;
	}

	@Override
	public IPage<TextBookSet> useListInfo(PageParam<TextBookSet> pageParam, String projectName) {
		
		return null;
	}

	@Override
	public int userListSave(String projectId, String projectNewId) {
		
		return 0;
	}
}
